from api.views.user import user_urls
from api.views.lesson import lesson_urls
from api.views.adv import adv_urls
from api.views.comment import comment_urls
from api.views.thumb import thumb_urls
from api.views.notebook import notebook_urls
from api.views.payment import payment_urls
from api.views.order import order_urls

app_name="api"

urlpatterns = []

def add_url(urls):
    for url in urls:
        urlpatterns.append(url)

add_url(user_urls)
add_url(lesson_urls)
add_url(adv_urls)
add_url(thumb_urls)
add_url(comment_urls)
add_url(notebook_urls)
add_url(payment_urls)
add_url(order_urls)